<?php 
    $sizeX = isset($this->chartSizeX) ? $this->chartSizeX : 480;
    $sizeY = isset($this->chartSizeY) ? $this->chartSizeY : 320
?>

<script type="text/javascript" src="/ofc/js/swfobject.js"></script>
<script type="text/javascript">
    swfobject.embedSWF("/ofc/open-flash-chart.swf", "<?php echo $this->chartId ?>", "<?php echo $sizeX ?>", "<?php echo $sizeY ?>", "9.0.0", "expressInstall.swf", {"data-file":"<?php echo $this->chartData ?>"});
</script>

<div id="<?php echo $this->chartId ?>"></div>
